home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 14 / CU Amiga Magazine's Super CD-ROM 14 (1997)(EMAP Images)(GB)(Track 1 of 3)[!][issue 1997-09].iso / CUCD / Programming / Mesa-2.2 / src-glu / Makefile < prev    next >
Encoding:
Makefile  |  1996-09-27  |  1.7 KB  |  79 lines

  1. # $Id: Makefile,v 1.1 1996/09/27 01:22:36 brianp Exp $
  2.  
  3. # Mesa 3-D graphics library
  4. # Version:  2.0
  5. # Copyright (C) 1995-1996  Brian Paul
  6. #
  7. # This library is free software; you can redistribute it and/or
  8. # modify it under the terms of the GNU Library General Public
  9. # License as published by the Free Software Foundation; either
  10. # version 2 of the License, or (at your option) any later version.
  11. #
  12. # This library is distributed in the hope that it will be useful,
  13. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  15. # Library General Public License for more details.
  16. #
  17. # You should have received a copy of the GNU Library General Public
  18. # License along with this library; if not, write to the Free
  19. # Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  20.  
  21.  
  22. # $Log: Makefile,v $
  23. # Revision 1.1  1996/09/27 01:22:36  brianp
  24. # Initial revision
  25. #
  26.  
  27.  
  28.  
  29. ##### MACROS #####
  30.  
  31. VPATH = RCS
  32.  
  33. INCDIR = ../include
  34. LIBDIR = ../lib
  35.  
  36. SOURCES = glu.c mipmap.c nurbs.c nurbscrv.c nurbssrf.c nurbsutl.c \
  37.     project.c quadric.c tess.c tesselat.c polytest.c
  38.  
  39. OBJECTS = $(SOURCES:.c=.o)
  40.  
  41.  
  42.  
  43. ##### RULES #####
  44.  
  45. .c.o:
  46.     $(CC) -c -I$(INCDIR) $(CFLAGS) $<
  47.  
  48.  
  49.  
  50. ##### TARGETS #####
  51.  
  52. default:
  53.     @echo "Specify a target configuration"
  54.  
  55. clean:
  56.     -rm *.o *~
  57.  
  58. targets: $(LIBDIR)/$(GLU_LIB)
  59.  
  60. # Make the library:
  61. $(LIBDIR)/$(GLU_LIB): $(OBJECTS)
  62.     $(MAKELIB) $(GLU_LIB) $(OBJECTS)
  63.     $(RANLIB) $(GLU_LIB)
  64.     mv $(GLU_LIB)* $(LIBDIR)
  65.  
  66. include ../Make-config
  67.  
  68. include depend
  69.  
  70.  
  71.  
  72. #
  73. # Run 'make depend' to update the dependencies if you change what's included
  74. # by any source file.
  75. dep: $(SOURCES)
  76.     makedepend -fdepend -Y -I../include $(SOURCES)
  77.  
  78.